package com.shenjinzheng.movie_ticket_app.model

data class Cinema(
    val id: Int,
    val name: String,
    val address: String,
    val phone: String,
    val movieList: List<Movie>
) {
    // 获取影院的名称
    fun getFormattedName(): String {
        return name.toUpperCase()
    }

    // 获取影院的完整地址
    fun getFullAddress(): String {
        return address
    }
}